
import 'dart:async';

import 'package:flutter/services.dart';

class PdaScannerFlutterPlugin {
  static const eventChannel = EventChannel('com.example.barcode/scan');
  static StreamSubscription init(void Function(dynamic event) scanResultHandle){
    return eventChannel.receiveBroadcastStream().listen(scanResultHandle);
  }
}
